@font-face {
  font-family: Ionicons;
  src: url(https://file.iviewui.com/dist/d535a25a79fb1365ae814b61e88fae71.ttf) format("truetype"), url(https://file.iviewui.com/dist/99ac3308dd8ee14f749f51538d0d5b9e.woff) format("woff"), url(https://file.iviewui.com/dist/a2c4a261a239aa84463dc70e4bac9b9a.svg#Ionicons) format("svg");
  font-weight: 400;
  font-style: normal;
}
@keyframes ani-demo-spin {
  from {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.msg-item .msg {
  margin: 20px 10px;
}
.msg-item .msg.tips {
  text-align: center;
  user-select: none;
}
.msg-item .msg.tips span {
  background: #dadada;
  color: #ffffff;
  padding: 4px 8px 3px;
  border-radius: 3px;
}
.msg-item .msg.tips span .red {
  color: red;
  font-weight: 400;
}
.msg-item .msg.mpnews {
  margin: 30px 0;
}
.msg-item .msg.mpnews .news_item {
  width: 300px;
  margin: 0 auto;
  cursor: pointer;
  user-select: none;
  background: #fff;
  font-size: 0;
  padding: 10px;
  border-bottom: 1px solid #e2e2e2;
}
.msg-item .msg.mpnews .news_item:hover {
  opacity: 0.8;
}
.msg-item .msg.mpnews .news_item img {
  width: 35px;
  height: 35px;
  border-radius: 5px;
}
.msg-item .msg.mpnews .news_item .tit {
  width: calc(55%);
  float: right;
  line-height: 35px;
  height: 35px;
  margin: 0;
  font-size: 14px;
}
.msg-item .msg.mpnews .news_item.after {
  border-bottom: none;
}
.msg-item .msg.mpnews .news_item.first {
  background: #fff;
  padding: 0;
  border-radius: 4px 4px 0 0;
}
.msg-item .msg.mpnews .news_item.first .top1 {
  width: 100%;
  position: relative;
  font-size: 0px;
}
.msg-item .msg.mpnews .news_item.first .top1 img {
  width: 100%;
  height: auto;
  border-radius: 4px 4px 0 0;
}
.msg-item .msg.mpnews .news_item.first .top1 p {
  position: absolute;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  bottom: 0;
  left: 0;
  margin: 0;
  width: 100%;
  padding: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-item .msg.mpnews .news_item.first .desc {
  font-size: 16px;
  height: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #5d5d5d;
  line-height: 40px;
  padding: 0 10px;
}
.msg-item .msg .header {
  user-select: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  float: left;
}
.msg-item .msg .header b {
  display: block;
  width: 100%;
  height: 100%;
  background-size: 100% 100%!important;
  border-radius: 50%;
}
.msg-item .msg[send-type='1002'] .header {
  float: right;
}
.msg-item .msg[send-type='1002'] .cont {
  float: right;
}
.msg-item .msg[send-type='1002'] .cont .info .name {
  float: right;
  margin-left: 5px;
}
.msg-item .msg[send-type='1002'] .cont .info .time {
  float: right;
}
.msg-item .msg[send-type='1002'] .cont .content {
  float: right;
}
.msg-item .msg[send-type='1002'] .cont .content::before {
  right: auto;
  left: -25px;
}
.msg-item .msg[send-type='1002'] .cont .content::after {
  left: auto;
  right: -8px;
  transform: rotate(-15deg);
  border-color: #9fc4ff transparent transparent #9fc4ff;
}
.msg-item .msg .cont {
  width: calc(-50%);
  float: left;
}
.msg-item .msg .cont .info {
  padding: 5px 5px 0;
  user-select: none;
}
.msg-item .msg .cont .info .name {
  float: left;
  margin-right: 5px;
  color: #666;
}
.msg-item .msg .cont .info .time {
  float: left;
  color: #bbb;
}
.msg-item .msg .cont .info::after {
  content: "";
  display: block;
  clear: both;
}
.msg-item .msg .cont .content {
  float: left;
  position: relative;
  min-width: 40px;
  background: #9fc4ff;
  margin: 5px 10px;
  min-height: 40px;
  padding: 10px 10px;
  border-radius: 5px;
}
.msg-item .msg .cont .content::before {
  content: "";
  font-size: 16px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  display: block;
  position: absolute;
  font-family: Ionicons;
  top: calc(40%);
  right: -25px;
  transform-origin: 10px 11px;
}
.msg-item .msg .cont .content[status="2"]::before {
  content: "↻";
  animation: ani-demo-spin 1s linear infinite;
}
.msg-item .msg .cont .content[status="0"]::before {
  content: "\F333";
  color: red;
}
.msg-item .msg .cont .content::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: 10px solid #9fc4ff;
  border-width: 5px 10px;
  border-color: #9fc4ff #9fc4ff transparent transparent;
  position: absolute;
  top: 0;
  left: -8px;
  transform: rotate(15deg);
  border-radius: 5px 0 0 0;
}
.msg-item .msg .cont .content[type="text"] {
  font-size: 16px;
  line-height: 20px;
  color: #333;
}
.msg-item .msg .cont .content[type="image"] {
  font-size: 0;
  padding: 2px;
}
.msg-item .msg .cont .content[type="image"] img {
  position: relative;
  z-index: 1;
  border-radius: 3px;
  max-width: 100px;
  min-height: 40px;
  max-height: 100px;
  cursor: pointer;
}
.msg-item .msg .cont .content[type="image"] img:active {
  opacity: 0.9;
}
.msg-item .msg::after {
  content: "";
  display: block;
  clear: both;
}
